package com.ufgov.zc.common.sf.model;

import java.math.BigDecimal;
import java.util.Date;

import com.ufgov.zc.common.util.EmpMeta;
import com.ufgov.zc.common.zc.model.ZcBaseBill;

public class SfAppendMaterialNotice extends ZcBaseBill{
    /**
   * 
   */
  private static final long serialVersionUID = 6015787749423518245L;
  
  public static final String SF_VS_SF_APPEND_MATERIAL_NOTICE_STATUS="SF_VS_SF_APPEND_MATERIAL_NOTICE_STATUS";
  
  public static final String SEQ_APPEND_MATERIAL_NOTICE_ID="SEQ_APPEND_MATERIAL_NOTICE_ID";
  /**
   * 页签
   */
  public static final String TAB_ID="SfAppendMaterialNotice_Tab";
  /**
   * 搜索条件
   */
  public static final String SEARCH_ID="SfAppendMaterialNotice_search";
  
  public static final String COL_APPEND_MATERIAL_NOTCE_ID="SF_APPEND_MATERIAL_NOTICE_APPEND_MATERIAL_NOTCE_ID"; // 补充鉴定材料通知ID
  public static final String COL_ENTRUST_CODE="SF_APPEND_MATERIAL_NOTICE_ENTRUST_CODE"; // 委托编号
  public static final String COL_ENTRUST_ID="SF_APPEND_MATERIAL_NOTICE_ENTRUST_ID"; // 委托ID
  public static final String COL_FILE_ID="SF_APPEND_MATERIAL_NOTICE_FILE_ID"; // 保存的word文件id
  public static final String COL_INPUTOR="SF_APPEND_MATERIAL_NOTICE_INPUTOR"; // 录入人
  public static final String COL_INPUT_DATE="SF_APPEND_MATERIAL_NOTICE_INPUT_DATE"; // 录入时间
  public static final String COL_NAME="SF_APPEND_MATERIAL_NOTICE_NAME"; // 名称
  public static final String COL_ND="SF_APPEND_MATERIAL_NOTICE_ND"; // 年度
  public static final String COL_PROCESS_INST_ID="SF_APPEND_MATERIAL_NOTICE_PROCESS_INST_ID"; // 工作流实例号
  public static final String COL_REMARK="SF_APPEND_MATERIAL_NOTICE_REMARK"; // 备注
  public static final String COL_STATUS="SF_APPEND_MATERIAL_NOTICE_STATUS"; // 状态

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column SF_APPEND_MATERIAL_NOTICE.APPEND_MATERIAL_NOTCE_ID
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    private BigDecimal appendMaterialNotceId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column SF_APPEND_MATERIAL_NOTICE.INPUTOR
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    private String inputor;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column SF_APPEND_MATERIAL_NOTICE.INPUT_DATE
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    private Date inputDate;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column SF_APPEND_MATERIAL_NOTICE.STATUS
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    private String status;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column SF_APPEND_MATERIAL_NOTICE.REMARK
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    private String remark;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column SF_APPEND_MATERIAL_NOTICE.ENTRUST_ID
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    private BigDecimal entrustId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column SF_APPEND_MATERIAL_NOTICE.NAME
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    private String name;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column SF_APPEND_MATERIAL_NOTICE.ENTRUST_CODE
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    private String entrustCode;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column SF_APPEND_MATERIAL_NOTICE.FILE_ID
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    private String fileId;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column SF_APPEND_MATERIAL_NOTICE.APPEND_MATERIAL_NOTCE_ID
     *
     * @return the value of SF_APPEND_MATERIAL_NOTICE.APPEND_MATERIAL_NOTCE_ID
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    public BigDecimal getAppendMaterialNotceId() {
        return appendMaterialNotceId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column SF_APPEND_MATERIAL_NOTICE.APPEND_MATERIAL_NOTCE_ID
     *
     * @param appendMaterialNotceId the value for SF_APPEND_MATERIAL_NOTICE.APPEND_MATERIAL_NOTCE_ID
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    public void setAppendMaterialNotceId(BigDecimal appendMaterialNotceId) {
        this.appendMaterialNotceId = appendMaterialNotceId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column SF_APPEND_MATERIAL_NOTICE.INPUTOR
     *
     * @return the value of SF_APPEND_MATERIAL_NOTICE.INPUTOR
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    public String getInputor() {
        return inputor;
    }

    public String getInputorName() {
      if(inputor!=null){
        return EmpMeta.getEmpName(inputor);
      }
      return inputorName;
    }
    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column SF_APPEND_MATERIAL_NOTICE.INPUTOR
     *
     * @param inputor the value for SF_APPEND_MATERIAL_NOTICE.INPUTOR
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    public void setInputor(String inputor) {
        this.inputor = inputor;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column SF_APPEND_MATERIAL_NOTICE.INPUT_DATE
     *
     * @return the value of SF_APPEND_MATERIAL_NOTICE.INPUT_DATE
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    public Date getInputDate() {
        return inputDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column SF_APPEND_MATERIAL_NOTICE.INPUT_DATE
     *
     * @param inputDate the value for SF_APPEND_MATERIAL_NOTICE.INPUT_DATE
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    public void setInputDate(Date inputDate) {
        this.inputDate = inputDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column SF_APPEND_MATERIAL_NOTICE.STATUS
     *
     * @return the value of SF_APPEND_MATERIAL_NOTICE.STATUS
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    public String getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column SF_APPEND_MATERIAL_NOTICE.STATUS
     *
     * @param status the value for SF_APPEND_MATERIAL_NOTICE.STATUS
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column SF_APPEND_MATERIAL_NOTICE.REMARK
     *
     * @return the value of SF_APPEND_MATERIAL_NOTICE.REMARK
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    public String getRemark() {
        return remark;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column SF_APPEND_MATERIAL_NOTICE.REMARK
     *
     * @param remark the value for SF_APPEND_MATERIAL_NOTICE.REMARK
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column SF_APPEND_MATERIAL_NOTICE.ENTRUST_ID
     *
     * @return the value of SF_APPEND_MATERIAL_NOTICE.ENTRUST_ID
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    public BigDecimal getEntrustId() {
        return entrustId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column SF_APPEND_MATERIAL_NOTICE.ENTRUST_ID
     *
     * @param entrustId the value for SF_APPEND_MATERIAL_NOTICE.ENTRUST_ID
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    public void setEntrustId(BigDecimal entrustId) {
        this.entrustId = entrustId;
    }

  
    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column SF_APPEND_MATERIAL_NOTICE.NAME
     *
     * @return the value of SF_APPEND_MATERIAL_NOTICE.NAME
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column SF_APPEND_MATERIAL_NOTICE.NAME
     *
     * @param name the value for SF_APPEND_MATERIAL_NOTICE.NAME
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column SF_APPEND_MATERIAL_NOTICE.ENTRUST_CODE
     *
     * @return the value of SF_APPEND_MATERIAL_NOTICE.ENTRUST_CODE
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    public String getEntrustCode() {
        return entrustCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column SF_APPEND_MATERIAL_NOTICE.ENTRUST_CODE
     *
     * @param entrustCode the value for SF_APPEND_MATERIAL_NOTICE.ENTRUST_CODE
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    public void setEntrustCode(String entrustCode) {
        this.entrustCode = entrustCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column SF_APPEND_MATERIAL_NOTICE.FILE_ID
     *
     * @return the value of SF_APPEND_MATERIAL_NOTICE.FILE_ID
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    public String getFileId() {
        return fileId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column SF_APPEND_MATERIAL_NOTICE.FILE_ID
     *
     * @param fileId the value for SF_APPEND_MATERIAL_NOTICE.FILE_ID
     *
     * @mbggenerated Fri Jan 16 13:59:02 CST 2015
     */
    public void setFileId(String fileId) {
        this.fileId = fileId;
    }
}